Miner.Responder.Shared.SchemaObjects Namespace > ResponderObjectBaseGeneric<T> Class : HasValue<TProp> Method |
'Declaration
Public Function HasValue(Of TProp)( _ ByVal expression As System.Linq.Expressions.Expression(Of Func(Of T,TProp)) _ ) As System.Boolean
'Usage
Dim instance As ResponderObjectBaseGeneric(Of T) Dim expression As System.Linq.Expressions.Expression(Of Func(Of T,TProp)) Dim value As System.Boolean value = instance.HasValue(Of TProp)(expression)
public System.bool HasValue<TProp>( System.Linq.Expressions.Expression<Func<T,TProp>> expression )
public function HasValue( expression: System.Linq.Expressions.Expression ): System.Boolean;
public function HasValue( expression : System.Linq.Expressions.Expression ) : System.boolean;
public: System.bool HasValue<TProp>( System.Linq.Expressions.Expression<Func<T*,TProp*>*>* expression )
public: System.bool HasValuegeneric<typename TProp> ( System.Linq.Expressions.Expression<Func<T^,TProp^>^>^ expression )
var object = new AlertsObject(row); bool hasValue = object.HasValue(o=>o.Property);
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2